﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace ZPod.MTG.Communication.Web
{
	[ServiceContract]
	public interface IGameServerService
	{
		[OperationContract]
		void CreateGame(string name);

		[OperationContract]
		List<string> GetAvailableGames();

		[OperationContract]
		void SetState(string game, string player, PlayerState state);

		[OperationContract]
		GameState GetGame(string game);

		[OperationContract]
		void AddCommonCard(string game, Card card);

		[OperationContract]
		void RemoveCommonCard(string game, int index);
	}
}
